package com.opal.exception;

/**
 * 底层异常类
 */
public class BaseException extends RuntimeException {
    private Integer status;
    private  String msg;

    public BaseException(){}

    public BaseException(String message){
        super(message);
    }

    public BaseException(Integer status,String msg){
        this.msg=msg;
        this.status=status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
